<template>
  <div>
    <h2>Count组件</h2>
    <button @click="count++">点击累加</button>
    <p>{{count}}</p>
  </div>
</template>

<script>
export default {
  name:"Count",
  data() {
    return {
      count:0
    }
  },
}
</script>